package cn.tedu.eb_film.service;

import cn.tedu.eb_film.pojo.dto.CsChangeRegulationDto;
import cn.tedu.eb_film.pojo.dto.CsChangeRegulationUpdateDto;
import cn.tedu.eb_film.pojo.entity.CsChangeRegulation;
import cn.tedu.eb_film.pojo.vo.CsChangeRegulationVo;

import java.util.List;

public interface CsChangeRegulationService {

    String ENABLE_TEXT[] = {"禁用","启用"};

    void AddNewChangeRegulation(CsChangeRegulationDto csChangeRegulationDto);

    void AddNewChangeRegulationList(List<CsChangeRegulation> list);

    void deleteChangeRegulationById(Long id);

    void deleteChangeRegulationByIds(List<Long> list);

    void countChangeRegulation();

    CsChangeRegulationVo getChangeRegulationById(Integer id);

    List<CsChangeRegulationVo> getChangeRegulationList();

    void updateChangeRegulation(CsChangeRegulationUpdateDto csChangeRegulationUpdateDto);

    List<CsChangeRegulationVo> search(String connect);

    void setEnable(Integer id);

    void setDisable(Integer id);
}
